using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace ShrapnelTest
{
    static class Program
    {
        /// <summary>
        /// The title of this application.
        /// </summary>
        public const string Title = "Shrapnel Test";

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
#if !DEBUG
            try
            {
#endif
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new MainForm());
#if !DEBUG
            }
            catch (Exception e)
            {
                MessageBox.Show(null, e.Message, Title, MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
#endif
        }
    }
}